package xyz.kail.demo.consul.cloud.consumer.client;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Created by kail on 2018/1/21.
 */
@FeignClient(name = "consul-provider")
public interface HelloFeignClient {

    @RequestMapping("/say/{hello}")
    String say(@PathVariable("hello") String hello);
}
